package com.gs.wzmanager.utils;


import java.util.concurrent.TimeUnit;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/10/30 0030
 */
public class Constant {

    public static class FORECAST_PATH {


//      public static final String THREE = "F:/DevResources/预报稿/";
//      public static final String WEEK = "F:/DevResources/一周预报/";

        public static final String THREE = "Z:/所有数据/预报稿/";
        public static final String WEEK = "Z:/所有数据/一周预报/";
        public static final String PORTANDCHANNEL = "E:/portForeRevise/";
        public static final long FILE_SCAN_MINUTES = TimeUnit.MINUTES.toMillis(5);//5分钟扫描一次文件的变化
    }

    public class Url {
        public static final String ELEMENT_STATION_ID = "stationId,";
        public static final String PARAM_STAID = "&staId=";
        public static final String PARAM_STAIDS = "&staIds=";
        public static final String PARAM_ELEMENT = "&elements=";
        public static final String DATA_CENTER_API = "http://10.135.30.116:8080/ZJDataCenter/api/";
        //7天预报接口 &staId=58557&elements=cloud,t,tmax12,tmin12,rh
        public static final String FORE_7_DAY = DATA_CENTER_API + "StationForecast/get7DaysForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //单站精细化1-24h预报(省台1-24h预报)
        public static final String FORE_24_HOUR = DATA_CENTER_API + "StationForecast/get24HourForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=st24hourstationforecast&dataformat=json";
        //精细化当天预报接口
        public static final String FORE_48_HOUR = DATA_CENTER_API + "StationForecast/getToDaysForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //精细化当天多站点预报接口
        public static final String FORE_48_HOUR_WIHT_MORE_STA = DATA_CENTER_API + "StationForecast/getToDaysForecastByStaIdsAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //最新资料接口->用于无数据显示 &elements=visibility,windVelocity,precipitation&staIds=58643
        public static final String LATEST_WEA = DATA_CENTER_API + "SURF_ZJ_MUL_HOR/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&limitCnt=100";
    }

    public static class FORECAST_CONTRAST{

        public static final String COUNTRY_FORECAST_FILE = "X:/";

        public static final String COUNTRY_FORECAST_FILETEST = "F:/";
    }

}
